package com.amnc.model;

import org.hibernate.validator.constraints.NotBlank;


public class CodePO {

	@NotBlank(message="the farmId value can't be null")
	private	String	farmId;
	@NotBlank(message="the cowId value can't be null")
	private	String	cowId;
	@NotBlank(message="the entryDate value can't be null")
	private String entryDate;
	@NotBlank(message="the code value can't be null")
	private String code;
	@NotBlank(message="the entrySession value can't be null")
	private String entrySession;
	private String comment;
	private String additionalInfo;
	private String repeat;

	public String getRepeat() {
		return repeat;
	}

	public void setRepeat(String repeat) {
		this.repeat = repeat;
	}
	
	// Must have no-argument constructor
	public CodePO() {

	}

	
	public String getFarmId() {
		return farmId;
	}

	public void setFarmId(String farmId) {
		this.farmId = farmId;
	}

	public String getCowId() {
		return cowId;
	}

	public void setCowId(String cowId) {
		this.cowId = cowId;
	}

	public String getEntryDate() {
		return entryDate;
	}

	public void setEntryDate(String entryDate) {
		this.entryDate = entryDate;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getEntrySession() {
		return entrySession;
	}

	public void setEntrySession(String entrySession) {
		this.entrySession = entrySession;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getAdditionalInfo() {
		return additionalInfo;
	}

	public void setAdditionalInfo(String additionalInfo) {
		this.additionalInfo = additionalInfo;
	}

	
	

}